﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddUser.aspx.cs" Inherits="IDM.Web.AddUser" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Edit User</title>
</head>
<body>
    <form id="form1" runat="server">
    <ext:ResourceManager runat="server">
    <Listeners>
		<DocumentReady Handler="#{Username}.focus(150);" />
    </Listeners>
    </ext:ResourceManager>
    
    <ext:Viewport runat="server" ID="Viewport"
		Layout="Fit" 		
		HideParent="true">
    <Content>
		<ext:FormPanel runat="server"
			ButtonAlign="Right"
			Padding="10"
			LabelAlign="Top">
		<Defaults>
			<ext:Parameter Name="MsgTarget" Value="side"></ext:Parameter>			
			<ext:Parameter Name="Anchor" Value="95%"></ext:Parameter>
			<ext:Parameter Name="AllowBlank" Value="false" Mode="Raw"></ext:Parameter>
		</Defaults>
		<Content>
			<ext:TextField runat="server" ID="Username"
				FieldLabel="Username"
				SelectOnFocus="true">
			</ext:TextField>
			<ext:TextField runat="server" ID="Password1"				
				FieldLabel="Enter password"
				InputType="Password"
				SelectOnFocus="true">
			</ext:TextField>
			<ext:TextField runat="server" ID="Password2"
				FieldLabel="Repeat password"
				InputType="Password"
				SelectOnFocus="true"
				Vtype="password">				
			<CustomConfig>
				<ext:ConfigItem Name="initialPassField" Value="#{Password1}" Mode="Value" />
            </CustomConfig>  
			</ext:TextField>
			<%--<ext:Checkbox runat="server" ID="Active"
				Checked="true"
				FieldLabel=""
				LabelSeparator=""
				BoxLabel="Active"
				AnchorHorizontal="85%">
			</ext:Checkbox>--%>
		</Content>
		
		</ext:FormPanel>
    </Content>
    </ext:Viewport>
    </form>
</body>
</html>
